home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1995 / MacHack 1995.toast / Presentations / Presentations ’88 / Feldt's Object Stuff / SSG include / viewMgrProto.h < prev   
Text File  |  1987-03-24  |  2KB  |  30 lines

  1. /*                              - View Manager™ -                                */
  2. /*                           Small Systems Guild                                */
  3.  
  4. /*                       private library header file                            */
  5. /*                   copyright © 1987 Small Systems Guild                         */
  6. /*                       Lightspeed C compiler 2.01                            */
  7.  
  8. /*    DAF    03/24/87    created this file from viewMgr.h routine defines    0.4    */
  9.  
  10. OSErr        CrtView(VRecHndl);                /* create view from ViewRecord    */
  11. OSErr        LoadView(int,VRecHndl *);        /* get view data from res fork    */
  12. OSErr        GetView(int,VRecHndl *);        /* get view data from res & crt    */
  13. OSErr        SaveView(VRecHndl,int);            /* save ViewRecord to res fork    */
  14. OSErr        InitView(VRecHndl);                /* init ViewRec data to defaults*/
  15. OSErr        KillView(VRecHndl);                /* remove view, reclaim memory    */
  16. void        ShowView(VRecHndl);                /* make view visible and update    */
  17. void        HideView(VRecHndl);                /* erase view, make invisible    */
  18. ItmRecHndl    DoView(VRecHndl,EventRecord *);    /* handle user events in view    */
  19.  
  20. OSErr        CrtItem(ItmRecHndl,VRecHndl);    /* create item from ItemRecord    */
  21. OSErr        LoadItem(int,ItmRecHndl *);        /* get item data from res fork    */
  22. OSErr        GetItem(int,ItmRecHndl *);        /* get item data from res & crt    */
  23. OSErr        SaveItem(ItmRecHndl,int);        /* save ItemRecord to res fork    */
  24. OSErr        InitItem(ItmRecHndl);            /* init ItemRec data to defaults*/
  25. OSErr        KillItem(ItmRecHndl);            /* remove item, reclaim memory    */
  26. void        ShowItem(ItmRecHndl);            /* make item visible and update    */
  27. void        HideItem(ItmRecHndl);            /* erase item, make invisible    */
  28. long        DoItem(ItmRecHndl,EventRecord *); /* handle user events in item    */
  29.  
  30.